package com.huslee.shark.log.log4j2.core;

import com.huslee.shark.log.log4j2.interfaces.Logger;

/**
 * @author: zhanglin574@xdf.cn
 * @date: 2021/8/9
 * @description:
 */
public class LogManager {

    public static Logger getLogger(Class<?> clz){
        org.apache.logging.log4j.Logger logger = org.apache.logging.log4j.LogManager.getLogger(clz);
        return new SimpleLogger(logger);
    }
}
